package com.tanjiaming99;

import com.spring.ApplicationContext;
import com.tanjiaming99.service.UserService;

/**
 * @Author tanjiaming99.com
 * @Date 2021/12/14 21:22
 **/
public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ApplicationContext(AppConfig.class);

        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();


    }
}
